package com.vision.core.cl.ui;

import com.google.gwt.user.client.ui.RootPanel;
import com.sencha.gxt.widget.core.client.container.SimpleContainer;

/**
 * 
 * @author Mark
 *
 */
public class ApplicationShell extends SimpleContainer {
	
	private MenuView menuView;
	private MainView mainView;
	
	public ApplicationShell(MenuView menuView, MainView mainView) {
		super();
		
		this.menuView = menuView;
		this.mainView = mainView;

		setBorders(true);
		
		RootPanel.get("menu").add(this.menuView);
		RootPanel.get("main").add(this.mainView);
	}

}